package top.yxqz.school;

/**
 * @author Mr.余
 * @date 2022/11/7
 * @package top.yxqz.school
 * 学生类
 */
public class SignStudent {
    private String name;
    private int id;
    private int age;
    private String password;
    private String ipAddr; //ip地址

//    alt + insert


    @Override
    public String toString() {
        return "SignStudent{" +
                "姓名='" + name + '\'' +
                ", id=" + id +
                ", 年龄=" + age +
                ", 学号='" + password + '\'' +
                ", ip地址='" + ipAddr + '\'' +
                '}';
    }

    public SignStudent() {
    }

    public SignStudent(String name, int id, int age, String password, String ipAddr) {
        this.name = name;
        this.id = id;
        this.age = age;
        this.password = password;
        this.ipAddr = ipAddr;
    }

    public String getIpAddr() {
        return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
